package com.wwe.kotlinstudy.dm.four

class DoubleCheckKotlin private constructor() {

    companion object {
        val instance: DoubleCheckKotlin by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
            DoubleCheckKotlin()
        }
    }
}

//延迟属性